package com.yunhe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("goods")
public class Goods implements Serializable {
    private static final long  serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty("物品编号")
    private Integer id;
    @ApiModelProperty("物品名称")
    private String name;
    @ApiModelProperty("物品仓库编号")
    private Integer storage;
    @ApiModelProperty("物品类别编号")

    @TableField("goodsType")
    private Integer goodstype;
    @ApiModelProperty("物品数量")
    private Integer count;
    @ApiModelProperty("备注信息")
    private String remark;
}